/**
 * 
 */
package com.yidu.springbootdemo.permission.service;

import com.yidu.springbootdemo.permission.action.vo.TuserVo;
import com.yidu.springbootdemo.permission.domain.Tuser;
import com.yidu.springbootdemo.permission.tools.Pages;

import java.util.List;

/**
 *	类的描述：	用户service接口类
 * @author HJJ
 * @date 2019年9月25日 下午3:25:11
 */
public interface TuserService {
	
	public void add(Tuser tch);
	
	public void delete(String chaID);
	
	public void update(Tuser tch);
	
	public List<TuserVo> findAll(TuserVo tch, Pages pages);

	public TuserVo findByID(String chaID);
	
	public List<Tuser> findUser(Tuser us, String time);
	
	public int count(TuserVo mod);
	
	public List<Tuser> login(Tuser cond);

	public Tuser findUser2(String name,String password);

	Tuser findBycompanyNum(Tuser tuser);

	List<Tuser> selBycompanyNum(String companyNum);

	public List<TuserVo> selAll();
}
